package com.lsz.flight_system.service;

import com.lsz.flight_system.entity.Notice;

import java.util.List;
import java.util.Map;

public interface NoticeService {

    boolean saveNotice(Notice notice);

    List<Notice> findAllByNotice(Map<String,Object> map);

    boolean delNoticeById(Long id);

    List<Notice> findNoticesByBelong(String belong);

    boolean adminSaveNoticeByPlaneId(String planeId,String noticeText);

    boolean adminDelNoticeById(Long id);
}
